#ifndef __JPEG_DRV_H__
#define __JPEG_DRV_H__

#if USE_CRANE_CAMERA && USE_CRANE_JPU

#define JPEG_BASE_ADDR 0xd420cc00

// APIs
int jpu_cam_enccfg(uint32_t in_w, uint32_t in_h, uint32_t out_addr);
int jpu_cam_encopen(void);
uint32_t jpu_cam_encfinish(void);
int jpu_cam_encclose(void);

#endif

#endif
